package MyArrayListBag;

import MyArrayListBag.MyArrayList;

public class text {
    public static void main(String[] args){
        MyArrayList myArrayList=new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(3);
        myArrayList.add(4);
        myArrayList.disPlay();
        myArrayList.add(1,99);
        myArrayList.disPlay();
        System.out.println(myArrayList.get(1));
        myArrayList.set(0,88);
        myArrayList.disPlay();
        myArrayList.remove(88);
        myArrayList.disPlay();
    }
}
